﻿using HandyControl.Themes;
using System.Windows;
using System.Windows.Controls;

namespace ModuleViewD.Views
{
    public partial class ViewD : UserControl
    {
        public ViewD()
        {
            InitializeComponent();

            ////在后台代码中设置主题资源
            //// 创建ResourceDictionary实例
            //ResourceDictionary resourceDictionary = new();

            //// 向MergedDictionaries集合中添加所需的ResourceDictionary
            //resourceDictionary.MergedDictionaries.Add(new ThemeResources());
            //resourceDictionary.MergedDictionaries.Add(new Theme());

            //// 将ResourceDictionary设置为UserControl的资源
            //this.Resources = resourceDictionary;
        }
    }
}
